<!DOCTYPE html>
<html>
<head>
    {include file="common/head"}
    <style type="text/css">
        .pricing-header img { width: 19px;}
    </style>
</head>
<body>
    {include file="common/menu"}

    {hkcms:adv name="company" itemid="4"}
    <section class="bg-banner" style="background-image: url({$item.image});">
        <div class="container">
            <div class="position-relative overflow-hidden p-3 p-xl-4 text-center">
                <div class="col-xl-6 p-lg-5 mx-auto my-5">
                    <h1 class="title mb-3">{$Cate.title}</h1>
                    <p class="lead fw-normal">{hkcms:breadcrumb class="active_a" symbol=" / " /}</p>
                </div>
            </div>
        </div>
    </section>
    {/hkcms:adv}

    <section class="company sec_pad pb-4 singlepage">
        <div class="container">
            <div class="pricing-header pb-xl-4 mx-auto text-center contact-html">
                <div class="card mb-3">
                    <div class="row g-0 col-xl-12">
                        <div class="py-3 col-xl-4">
                            <h5 class="mb-3">{$site.title}</h5>
                            <p class="card-text">联系方式：{$Info.contact_info}</p>
                            <p class="card-text">联系邮箱：{$Info.email}</p>
                            <p class="card-text">联系地址：{$Info.address}</p>
                        </div>
                        <div class="col-xl-8">
                            {:hook("show_map", ['attr'=>['style'=>'width:100%;height:350px;border:#ccc solid 1px;','id'=>'dituContent'],'title'=>$Info['company'],'address'=>$Info['address'],'scale'=>17,'point'=>$Info['point']])}
                        </div>
                        <div class="col-xl-12 my-3">
                            <h5 class="my-3">在线留言</h5>
                            {hkcms:guestbook catid="17"}
                            <form action="{$__fields__.action}" method="post">
                                <div class="row g-2 mb-3">
                                    <div class="col-md">
                                        <div class="form-floating">
                                            <input type="text" class="form-control" name="{$__fields__.field.name|default=''}" id="name">
                                            <label for="name">姓名</label>
                                        </div>
                                    </div>
                                    <div class="col-md">
                                        <div class="form-floating">
                                            <input type="email" class="form-control" name="{$__fields__.field.email|default=''}" id="email">
                                            <label for="email">邮箱</label>
                                        </div>
                                    </div>
                                    <div class="col-md">
                                        <div class="form-floating">
                                            <input type="text" class="form-control" name="{$__fields__.field.phone|default=''}" id="phone">
                                            <label for="phone">电话</label>
                                        </div>
                                    </div>
                                </div>
                                <div class="row g-2 mb-3">
                                    <div class="col-md">
                                        <div class="form-floating">
                                            <textarea class="form-control" id="content" name="{$__fields__.field.content|default=''}"></textarea>
                                            <label for="content">内容</label>
                                        </div>
                                    </div>
                                </div>
                                <button type="submit" class="btn btn-primary">提交</button>
                            </form>
                            {/hkcms:guestbook}
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    {include file="common/footer"}
</body>
</html>